package com.taa.dto;

import lombok.Data;
import java.util.List;

/**
 * @Author: taa
 * @Desc: 订单创建DTO
 * @Create: 2025-06-22 17:33
 **/
@Data
public class OrderCreateDTO {
    private Long restaurantId;
    private List<OrderItemCreateDTO> items;

    /**
     * 内部类，用于表示每个要创建的订单项
     */
    @Data
    public static class OrderItemCreateDTO {
        private Long dishId;
        private Integer quantity;
    }
}

